/**
 * 验证码
 */
export namespace ISystemCaptcha {
    export interface Data {
        imageBase: string;
        key: number;
    }

    export interface IRes {
        code: number;
        data: Data;
        msg: string;
        successful: string;
    }
}
/**
 * 站点配置
 */

export namespace IWebsite {
    export interface Data {
        articleCount: number;
        isCode: number;
        isRegistry: number;
        websiteRequestCount: number;
        websiteRunDays: number;
        websiteViewCount: number;
        id: number;
        isRegistryCode?: number;
        websiteTitle?: string;
        websiteLogo?: string;
        websiteIcp?: string;
        websiteCover?: string;
        websiteColor?: string;
    }

    export interface IRes {
        code: number;
        data: Data;
        msg: string;
        successful: string;
    }
}

/**
 * 系统日志
 */
export namespace ISystemLog {
    export interface List {
        createDate: string;
        creator: number;
        description: null;
        id: number;
        jsonResult: string;
        modifier: null;
        requestBody: string;
        requestBrowser: string;
        requestIp: string;
        requestMethod: string;
        requestModular: null;
        requestMsg: null;
        requestOs: string;
        requestPath: string;
        responseCode: string;
        requestProvince: string;
        requestCity: string;
        requestDistrict: string;
        status: boolean;
        updateDate: string;

        [property: string]: any;
    }

    export interface Data {
        list: List[];
        total: number;

        [property: string]: any;
    }

    export interface ILogRequest {
        code: number;
        data: Data;
        msg: string;
        successful: string;

        [property: string]: any;
    }

}
